package com.gh.pattern.factory.abstr;

public class AbstractFactoryTest {
    public static void main(String[] args) {
        //对于用户而言，更加简单了
        //用户只有选择的权利了，保证了程序的健壮性
        CellPhoneFactory factory = new CellPhoneFactory();
        System.out.println(factory.getApple());
    }
}
